package com.example.pro1.mapper.lian.oldMapper;


import com.example.pro1.entity.lian.oldPojo.customerOld;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface customerMapperOld {
    /*获取客户数量*/
    Integer getCustomerNums();

    /*添加Customer对象*/
    boolean insertOneCustomer(Map<String,Object> map);

    /*删除Customer对象*/
    boolean deleteCustomerByInfoById(Map<String,Object> map);

    /*修改Customer对象*/
    boolean updateCustomerByInfo(Map<String,Object> map);

    /*根据id修改customer对象*/
    boolean updateCustomerById(Map<String,Object> map);

    /*根据已有数据查询Customer对象*/
    List<customerOld> getCustomersInfo(Map<String,Object> map);
}
